package com.liqi.frame.comm.service;

import com.liqi.frame.comm.base.BaseService;
import com.liqi.frame.comm.po.UserOnline;
import com.liqi.frame.comm.session.OnlineSession;
import org.apache.shiro.session.Session;

import java.util.List;

/**
 * @author liqi on 2020/1/20 0020. liqiwork@qq.com
 */
public interface UserOnlineService extends BaseService<UserOnline> {
    int saveOnline(UserOnline sysUserOnline);
    int deleteSession(OnlineSession onlineSession);
    Session getSession(String sessionId);
    List<UserOnline> getListWithFullname(String fullname);
}
